<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="author" content="wangbo">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>路由</title>
</head>
<body>
    <a href="./chp02-history1.html"> 先访访问页面1</a>
    <input type="button" value="返回" onclick="goBack()">
    <script>
        function goBack() {
            window.history.back()
            // window.history.go(-1)
        }
    </script>
</body>
</html>